﻿using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;
using PoolGame2.Assets;
using PoolGame2.Physics;
using PoolGame2.Menus;


namespace PoolGame2.Player
{
    public class RotationAction : PlayerAction
    {
        float angle;
        public float Angle
        {
            get { return angle; }
        }

        public RotationAction(PlayerActionType type, float ang)
            : base(type)
        {
            angle = ang;
        }

        public override void Pack(PacketWriter output)
        {
            base.Pack(output);
            output.Write(angle);
        }
    }
}
